package com.abcdefg.springtrans;

public enum Isolation {
    DEFAULT(-1),
    READ_UNCOMMITTED(1),
    READ_COMMITTED(2),
    REPEATABLE_READ(3),
    SERIALIZABLE(4);

    private final int value;
    private Isolation(int value) {
        this.value = value;
    }
    public int getValue() {
        return value;
    }
}
